// import {mapGetters, mapActions} from 'vuex'

export const picker = {
  methods: {
    // ...mapActions([]),
    bindPickerChange: function (e) {
      console.log('picker发送选择改变，携带值为：' + e.detail.value)
      this.index = e.detail.value
    },

  },
  computed: {
    // ...mapGetters([])
  },
  data() {
    return {
      index: 0,
      array: [
        {
          name: '中国'
        },
        {
          name: '美国'
        },
        {
          name: '巴西'
        },
        {
          name: '日本'
        }
      ],
    }
  },
  mounted() {

  }
}
